<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" %>
<%
	//如果没有登陆
	if (session.getAttribute("loginResident") == null) {
		if (session.getAttribute("loginUser") == null) {
			//提示信息
			request.setAttribute("message", "请先登录");
			//跳转
			request.getRequestDispatcher("indexpass.jsp").forward(request, response);
			return;
		}
	}
%>